					<section class="box clearfix productTeaserBox">
						<div id="gallery1">

							<?php if(isset($silders->img1) && $silders->img1 != "" && isset($silders->url1) && $silders->url1 !="" ) { ?>
                                <a href="<?php echo $silders->url1;?>" class="show"><img rel=" " title="" alt="slider1" src="<?php echo $silders->img1;?>"></a>
                            <?php }?>
                            <?php if(isset($silders->img2) && $silders->img2 != "" && isset($silders->url2) && $silders->url2 !="" ) { ?>
                                <a href="<?php echo $silders->url2;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img2;?>"></a>
                            <?php }?>
                            <?php if(isset($silders->img3) && $silders->img3 != "" && isset($silders->url3) && $silders->url3 !="" ) {?>
                                <a href="<?php echo $silders->url3;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img3;?>"></a>
                            <?php }?>
                            <?php if(isset($silders->img4) && $silders->img4 != "" && isset($silders->url4) && $silders->url4 !="" ) { ?>
                                <a href="<?php echo $silders->url4;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img4;?>"></a>
                            <?php }?>
                            <?php if(isset($silders->img5) && $silders->img5 != "" && isset($silders->url5) && $silders->url5 !="" ) { ?>
                                <a href="<?php echo $silders->url5;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img5;?>"></a>
                            <?php }?>


						</div>
					</section>
					<section class="box clearfix productTeaserBox">
						<!-- Sitemap -->

						<!-- Filter box -->
                        <div class="product-filter-wrapper">
                            <div class="title">
                                <span>Tìm theo</span>
                            </div>

                            <!-- Price Range -->
                            <div class="filter">
                                <div class="filter-name">
                                    <a href="javascript:;" title="Mức giá">Mức giá</a>
                                </div>

                                <div class="filter-list-wrapper ">
                                    <ul class="filter-list nolist ">
                                        <li class="checked"><a href="<?php echo base_url() . 'dieu-hoa-khong-khi'; ?>">Tất cả</a></li>
                                        <?php foreach ($khoanggia as $khoanggias): ?>
                                            <li>
                                                <!--<a href="<?php echo base_url() . mb_strtolower(url_title(removesign($khoanggias['aprice_name']))) . '-g-' . $khoanggias['aprice_id']; ?>"><?php echo $khoanggias['aprice_name']; ?></a>-->
                                                <?php
                                                $p = $khoanggias['aprice_id'];
                                                $url_Filter_r =  preg_replace('~p=[0-9]+~', "p=$p", $url_Filter);
                                                ?>
                                                <a href="/<?php echo $url_Filter_r ?>"><?php echo $khoanggias['aprice_name']; ?></a>
                                            </li>
                                        <?php endforeach; ?>

                                    </ul>
                                </div>

                                <script>

                                </script>

                            </div>
                            <!-- Manufacturer -->
                            <div class="filter">
                                <div class="filter-name">
                                    <a href="javascript:;" title="Hãng sản xuất">Hãng sản xuất</a>
                                </div>
                                <div class="filter-list-wrapper ">
                                    <div class="filter-list nolist maunufacturer">
                                        <ul>
                                            <li class="checked"><a href="<?php echo base_url() . 'dieu-hoa-khong-khi'; ?>">Tất
                                                    cả</a></li>
                                            <?php foreach ($hangsanxuat AS $hangsanxuats): ?>
                                                <li class="">
                                                    <!--
                                <a  href="<?php echo base_url() . mb_strtolower(url_title(removesign($hangsanxuats['origin_name']))) . '-h-' . $hangsanxuats['origin_id']; ?>"><?php echo $hangsanxuats['origin_name'] ?></a>
                                -->
                                                    <?php
                                                    $h = $hangsanxuats['origin_id'];
                                                    $url_Filter_h =  preg_replace('~h=[0-9]+~', "h=$h", $url_Filter);
                                                    ?>
                                                    <a href="/<?php echo $url_Filter_h ?>"><?php echo $hangsanxuats['origin_name']; ?></a>
                                                </li>
                                            <?php endforeach; ?>
                                        </ul>
                                        <ul class="child">
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <!-- Property -->
                            <div class="filter">
                                <div class="filter-name">
                                    <a href="javascript:;" title="loại điều hòa">Loại điều hòa</a>
                                </div>
                                <div class="filter-list-wrapper ">
                                    <ul class="filter-list nolist ">
                                        <li class="checked">
                                            <a href="<?php echo base_url() . 'dieu-hoa-khong-khi.html'; ?>">
                                                Tất cả</a>
                                        </li>
                                        <?php foreach ($thuonghieu AS $thuonghieus): ?>
                                            <li>
                                                <?php
                                                $l = $thuonghieus['brand_id'];
                                                $url_Filter_l =  preg_replace('~l=[0-9]+~', "l=$l", $url_Filter);
                                                ?>
                                                <a href="/<?php echo $url_Filter_l ?>"><?php echo $thuonghieus['brand_name']; ?></a>
                                            </li>
                                        <?php endforeach; ?>

                                    </ul>
                                </div>
                            </div>
                            <div class="filter">
                                <div class="filter-name ">
                                    <a href="javascript:;" title="Kích thước màn hình">Công
                                        suất</a>
                                </div>
                                <div class="filter-list-wrapper ">
                                    <ul class="filter-list nolist ">
                                        <li class="checked"><a href="<?php echo base_url() . 'dieu-hoa-khong-khi'; ?>">Tất
                                                cả</a></li>
                                        <?php foreach ($congxuat AS $conxuats): ?>
                                            <li>
                                                <?php
                                                $c = $conxuats['capacity_id'];
                                                $url_Filter_c =  preg_replace('~c=[0-9]+~', "c=$c", $url_Filter);
                                                ?>
                                                <a href="/<?php echo $url_Filter_c ?>"><?php echo $conxuats['capacity_name']; ?></a>
                                            </li>
                                        <?php endforeach; ?>

                                    </ul>
                                </div>
                            </div>
                            <div class="filter">
                                <div class="filter-name ">
                                    <a href="javascript:;" title="Kích thước màn hình">Tính năng</a>
                                </div>
                                <div class="filter-list-wrapper ">
                                    <ul class="filter-list nolist ">
                                        <li class="checked"><a href="<?php echo base_url() . 'dieu-hoa-khong-khi'; ?>">Tất
                                                cả</a></li>
                                        <?php foreach ($tinhnang AS $tinhnangs): ?>
                                            <li>
                                                <?php
                                                $t = $tinhnangs['tech_id'];
                                                $url_Filter_t =  preg_replace('~t=[0-9]+~', "t=$t", $url_Filter);
                                                ?>
                                                <a href="/<?php echo $url_Filter_t ?>"><?php echo $tinhnangs['tech_name']; ?></a>
                                            </li>
                                        <?php endforeach; ?>

                                    </ul>
                                </div>
                            </div>


                            <!-- Order -->
                            <div class="filter selected orderby">
                                <div class="filter-name ">
                                    <a href="javascript:;" title="Giá cao đến thấp">Giá thấp đến cao</a>
                                </div>
                                <div class="filter-list-wrapper">
                                    <ul class="filter-list nolist ">
                                        <?php
                                        $t0 = 0;
                                        $url_Filter_pr0 =  preg_replace('~pr=[0-9]+~', "pr=$t0", $url_Filter);
                                        ?>
                                        <li class="checked"><a href="/<?php echo $url_Filter_pr0; ?>">Giá thấp đến cao</a></li>
                                        <?php
                                        $t = 1;
                                        $url_Filter_pr =  preg_replace('~pr=[0-9]+~', "pr=$t", $url_Filter);
                                        ?>
                                        <li>
                                            <a href="/<?php echo $url_Filter_pr ?>">Giá cao đến thấp</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <script type="text/javascript">
                                $('#ulcatmenu > li > a').each(function () {
                                    var tmp = $(this).attr('href').replace('/', '');
                                    if (tmp.indexOf(caturl) >= 0) {
                                        $(this).addClass('active');
                                        return;
                                    }
                                });
                            </script>
                        </div>

						<!-- CategoryKeyOffer -->
						<script type="text/javascript">
        $('.productTeaserBox .product-filter-wrapper').css('margin-bottom', '0');
    </script>

						<!-- Compare area -->
						<div id="catprodcmpr"></div>

						<!-- Product list -->

					</section>
					<!------------end.right2---------->

					<?php foreach ($getAllCategory as $getAllCategorys):?>
					<?php
					//var_dump($getAllCategorys);
					?>
					<?php if($getAllCategorys['cate_id'] != 17 && $getAllCategorys['cate_id'] != 16 &&   $getAllCategorys['cate_id'] != 10 &&   $getAllCategorys['cate_id'] != 18  ){ ?>
					<section class="box clearfix productTeaserBox">
						<header class="header ">
							<?php if(isset($getAllCategorys['cate_name']) && $getAllCategorys['cate_type'] != 1 ) {?>
							<div class="ui-borderBottom clearfix">
								<h2 class="lfloat h3">
									<?php echo $getAllCategorys['cate_name']; ?>
								</h2>
								<div class="clearfix"></div>
							</div>
							<?php }?>
						</header>

						<?php $i = 0 ;?>
						<?php foreach ($getAllProduct as $getAllProducts):?>

							<?php if($getAllProducts['cate_id'] == $getAllCategorys['cate_id'] &&  $getAllCategorys['cate_type'] != 1){ ?>
								<?php $i++ ;?>

								 <?php if ($i < 5)
								   { ?>
									<div class="lis_prd">
									<div class="lis2">
										<a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllProducts['title']))).'.html';?>"><img width="150px" height="170px" src="<?php echo $getAllProducts['img1'];?>"></a>
										<div class="ldtail2">
											<h3>
												<a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllProducts['title']))).'.html';?>"><?php echo $getAllProducts['title'];?></a>
											</h3>
											<p class="price"><?php echo number_format($getAllProducts['price']);?> VNĐ</p>
											<a class="more" href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllProducts['title']))).'.html';?>">Xem chi tiết</a>
										</div>
									</div>
									</div>

							<?php } } ?>

						<?php endforeach;?>
						<?php if(isset($getAllCategorys['cate_name']) && $getAllCategorys['cate_type'] != 1 ) {?>
						<div class="next_content">
                            <li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllCategorys['cate_name'])));?>"  class="ns2-readmore">Xem thêm </a></li>
						</div>
						<?php }?>
					</section>
					<!------------end.right3---------->
					<?php }?>
					<?php endforeach;?>


